#include "dwgpoint.h"

DwgPoint::DwgPoint()
{
    mType = DPoint;
};

void DwgPoint::setPoint(const QPoint &point)
{
    mPoint = point;
}

void DwgPoint::Draw(QPainter *p)
{
    // 设置点的大小
    int pointSize = 5;
    // 绘制点
    p->drawEllipse(mPoint, pointSize, pointSize);
}
